#pragma once

#include "IVec3Interpolator.h"
#include "Vec3Key.h"
#include <vector>

class TCBVec3Interpolator : public IVec3Interpolator
{
private:
	std::vector<Vec3Key*> keys;

	void GetVectors(float time, float &normalizedTime, Vec3 &pt1, Vec3 &pt2, Vec3 &tn1, Vec3 &tn2);

public:
	void GetValue(float time, Vec3 &value);
	void AddKey(float time, Vec3 value);
};
